how to create a test in pytest